package com.yilin.tms.core.entity.user.technical;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

//线路配置表
@Entity
@Table(name = "line_configure")
@TableName("line_configure")
public class LineConfigure extends BaseEntity {
    //线路名称
    @Column(name = "line_name")
    private String lineName;
    //线路代码
    @Column(name = "line_code")
    private String lineCode;
    //线路备注
    @Column(name = "line_remarks")
    private String lineRemarks;
    //发货地
    @Column(name = "consignor_address")
    private String ConsignorAddress;
    //发货坐标
    @Column(name = "consignor_coordinate")
    private String consignorCoordinate;
    //发货人
    @Column(name = "consignor_name")
    private String ConsignorName;
    //发货人联系方式
    @Column(name = "consignor_phone")
    private String ConsignorPhone;
    //收货地
    @Column(name = "consignee_address")
    private String consigneeAddress;
    //收货坐标
    @Column(name = "consignee_coordinate")
    private String consigneeCoordinate;
    //收货人
    @Column(name = "consignee_name")
    private String consigneeName;
    //收货人联系方式
    @Column(name = "consignee_phone")
    private String ConsigneePhone;
    //货物
    @Transient
    @TableField(exist = false)
    private List<GoodsConfigure> goodsConfigures;

    public List<GoodsConfigure> getGoodsConfigures() {
        return goodsConfigures;
    }

    public void setGoodsConfigures(List<GoodsConfigure> goodsConfigures) {
        this.goodsConfigures = goodsConfigures;
    }

    public String getConsignorAddress() {
        return ConsignorAddress;
    }

    public void setConsignorAddress(String consignorAddress) {
        ConsignorAddress = consignorAddress;
    }

    public String getConsignorCoordinate() {
        return consignorCoordinate;
    }

    public void setConsignorCoordinate(String consignorCoordinate) {
        this.consignorCoordinate = consignorCoordinate;
    }

    public String getConsignorName() {
        return ConsignorName;
    }

    public void setConsignorName(String consignorName) {
        ConsignorName = consignorName;
    }

    public String getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(String consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getConsigneeCoordinate() {
        return consigneeCoordinate;
    }

    public void setConsigneeCoordinate(String consigneeCoordinate) {
        this.consigneeCoordinate = consigneeCoordinate;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineRemarks() {
        return lineRemarks;
    }

    public void setLineRemarks(String lineRemarks) {
        this.lineRemarks = lineRemarks;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getConsignorPhone() {
        return ConsignorPhone;
    }

    public void setConsignorPhone(String consignorPhone) {
        ConsignorPhone = consignorPhone;
    }

    public String getConsigneePhone() {
        return ConsigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        ConsigneePhone = consigneePhone;
    }
}
